package com.javafactroy.kunlong.data.iface;

import com.javafactroy.kunlong.base.dto.TQueryParam;
import com.javafactroy.kunlong.client.feign.dto.PageInfoDto;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface IWebService<T extends PageInfoDto> extends IGeneralService<T>{
    void export(HttpServletResponse response, @RequestBody T param) throws IOException ;
    void exportParam(HttpServletResponse response, @RequestBody TQueryParam<T> param) throws IOException ;

}
